import type { ChartsConfig } from './types/charts'
import { colors } from './themes'
export const defaultConfig: ChartsConfig = {
  color: colors.theme1,
  title: {
    text: '',
    left: 'center',
    color: '#333',
    fontSize: 18,
  },
  legend: {
    orient: 'horizontal',
    top: 'top',
    left: 'left',
  },
  tooltip: {
    trigger: 'item',
    formatter: '{b} : {c} ({d}%)',
  },
  xAxis: {
    type: 'category',
    data: [],
    name: '',
    nameLocation: 'end',
    nameColor: '#666',
    lineColor: '#666',
    splitColor: '#eee',
  },
  yAxis: {
    type: 'value',
    name: '',
    nameLocation: 'end',
    nameColor: '#666',
    lineColor: '#666',
    splitColor: '#eee',
  },
  series: [],
}
